import Enum from '../enum'
/**
 * 枚举类：订单状态
 * orderStatusEnum
 */
export default new Enum([
  { key: 'UNPAID', name: '待支付', value: 0 },
  { key: 'NEW', name: '新订单', value: 1 },
  { key: 'RECEIVES', name: '已接单', value: 2 },
  { key: 'REVIEWED', name: '已复核', value: 5 },
  { key: 'STOCK_UP', name: '已备货', value: 6 },
  { key: 'WAIT_PICK_UP', name: '等待取货', value: 7 },
  { key: 'DELIVERY_ABNORMAL', name: '配送异常', value: 8 },
  { key: 'DELIVERY_CANCEL', name: '配送取消', value: 9 },
  { key: 'DELIVERING', name: '配送中', value: 10 },
  { key: 'GROUP_BOOKING', name: '拼团中', value: 16 },
  { key: 'COMPLETED', name: '已完成', value: 20 },
  { key: 'APPLY_REFUND', name: '申请退款', value: 21 },
  { key: 'APPLY_CANCEL', name: '申请取消', value: 40 },
  { key: 'CANCELLED', name: '已取消', value: 41 },
  { key: 'CANCEL_PAY', name: '支付取消', value: 42 },
  { key: 'INVALID', name: '已作废', value: 60 },
  { key: 'CANCEL_WAIT', name: '取消中', value: 61 },
])
